/**
 * 商品接口
 */

import request from "@/utils/request";

// 分页获取商品数据（猜你喜欢）
export const pagingQueryGoods = (page, pageSize) => {
  return request({
    method: "GET",
    url: `/goods/${page}/${pageSize}`,
  });
};

// 获取某个商品数据
export const getGoodsInfo = (gId) => {
  return request({
    method: "GET",
    url: `/goods/${gId}`,
  });
};
